﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ProductDetails.aspx.cs" Inherits="Business.ProductDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
        CellPadding="4" ForeColor="#333333" GridLines="None" Height="50px" Width="100%">
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" />
        <EditRowStyle BackColor="#999999" />
        <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True" />
        <Fields>
            <asp:TemplateField>
                <ItemTemplate>
                    <asp:Image ID="Image1" runat="server" 
                        ImageUrl='<%# "~/hinhanh/" + Eval("ProductImage") %>' />
                    <br />
                    <br />
                    <span style="font-size: 13px">Price</span>:&nbsp;
                    <asp:Label ID="Label1" runat="server" 
                        style="font-size: 15px; font-weight: 700; color: #FF3300" 
                        Text='<%# "$ "+ Eval("Unitprice") %>'></asp:Label>
                    <br />
                    <span style="font-size: 13px">Author</span>:
                    <asp:Label ID="Label2" runat="server" style="font-size: 13px; color: #000099" 
                        Text='<%# Eval("Author") %>'></asp:Label>
                    <br />
                    <br />
                    <span style="font-size: 12pt; color: #CC0099"><strong>Decriptions Books</strong></span>:<br />
                    <br />
                    <asp:Label ID="Label3" runat="server" style="font-size: 13px" 
                        Text='<%# Eval("ProductDescription") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Fields>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
    </asp:DetailsView>
</asp:Content>
